home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
tarmail
/
README
< prev
next >
Wrap
Text File
|
1994-08-01
|
3KB
|
79 lines
toolbox/public/tarmail README
This directory contains tarmail, a utility for sending files
through e-mail. This is a convenient way to mail files and/or
entire directories of files. The files can be either text
or binaries. This software is public domain, and can be
distributed and/or modified freely as long as the authors
names are not removed.
To compile and install tarmail, copy this directory to a local disk,
and type:
su
make install
This will install the following files into your /usr/local/bin
directory:
atob
btoa
tarmail
untarmail
viewtarmail
To use tarmail, the above files must be installed on both
the sending and receiving machines (and remember to add
/usr/local/bin to your path).
To give tarmail to someone else so that they may install it,
simply send them (through normal e-mail) the entire "tarmail.kit"
file, without modification. This file includes everything needed
to install tarmail, along with instructions on how to do it.
-------------------------------------------------------------
Usage is as follows:
tarmail [-s subject] person files ...
Will send the listed files and/or directories to
the specified person, with an optional subject
heading.
untarmail file, or
untarmail -
Will extract the enclosed files/directories from
a file containing the received mail message. Note
that the headers need not be removed from the mail
message -- untarmail will automatically extract
the proper data. As with tar, the files/directories
will be placed in the current working directory,
unless the names are absolute paths. The "-" option
can be used to read a list from standard input
(typically used with a pipe).
viewtarmail file, or
viewtarmail -
Will print a listing of the enclosed files/directories
from a file containing the received mail message. The
"-" option can be used to read a list from standard input.
NOTE: For alternate mailers, you may need to modify the "tarmail"
script a bit to get it to work properly -- as written,
it assumes a Berkeley "Mail" that supports the "-s subject"
option and the "~:" subcommand (so that you can suppress
adding tarmail'd files to your mail filecopy). If all else
fails, just use this for "tarmail":
#!/bin/sh
who="$1"; shift
tar cvf - $* | compress | btoa | mail $who